IMAPIControl : IUnknown

The IMAPIControl interface is used to enable and disable a button control and to perform tasks when a user of a client application clicks the enabled control. Service providers implement control objects to create custom buttons on dialog boxes, such as configuration property sheets, that are defined with display tables.

For more information on working with display tables and control objects, see Display Tables12983_W.

Quick Info

 

Header file:

MAPIDEFS.H

Exposed by:

Control objects

Implemented by:

Service providers

Called by:

MAPI

Corresponding pointer type:

LPMAPICONTROL

 

Vtable Order

 

GetLastErrorBUKX5Z

Returns a MAPIERROR4GS6AI structure containing information about the previous button control error.

Activate29RK5V5

Performs a task   such as displaying a dialog box or starting a programmatic operation   when the button control is clicked by a user of a client application.

GetStateKY09JU

Retrieves a value that indicates whether the button control is enabled or disabled.